﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Csharp第四次作业_类与类的成员_
{
     internal class Teacher
    {
        public readonly string name;
        internal static int age;
        private const string major = "软件";

        public void Show()
        {
            Console.WriteLine("老师姓名：" + name);
            Console.WriteLine("老师年龄：" + age);
            Console.WriteLine("老师所教专业：" + major);
        }
    }
}
